
import javax.microedition.lcdui.Command;
import javax.microedition.lcdui.CommandListener;
import javax.microedition.lcdui.Displayable;
import javax.microedition.lcdui.List;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
/**
 *
 * @author silva
 */
public class ModoJogo extends List implements CommandListener{
    private final VelhaMIDlet midlet;

    public ModoJogo(VelhaMIDlet midlet) {
        super("Modo de Jogo", IMPLICIT);
        this.midlet = midlet;
        append("Bluetooh", null);
        append("Online", null);
        setCommandListener(this);
    }

    public void commandAction(Command c, Displayable d) {
       if(c==SELECT_COMMAND){
         switch(getSelectedIndex()){
             //TODO Terminar
             case 0:
                 break;
             case 1:
                 break;
         }   
       }
    }
}
